export default function login(http) {
  return {
    async list(query = {}) {
      return await http.get('/branch/list', {
        params: {
          ...query,
        },
      })
    },
  }
}
